Skip to content

test(cli): add --help case to publish snap tests for npm10/yarn1/yarn4#1584

Merged
fengmk2 merged 2 commits into
voidzero-dev:mainfrom
jong-kyung:test/snap-publish-help-cases
May 15, 2026
Merged

test(cli): add --help case to publish snap tests for npm10/yarn1/yarn4#1584
fengmk2 merged 2 commits into
voidzero-dev:mainfrom
jong-kyung:test/snap-publish-help-cases

Conversation

@jong-kyung
Copy link
Copy Markdown
Collaborator

Summary

Align the vp pm publish snap matrix by adding a --help case to command-publish-npm10, command-publish-yarn1, and command-publish-yarn4 — previously only bun, pnpm10, and pnpm11 captured it.

clap-generated help is deterministic, so this gives a cheap regression signal whenever the vp pm publish command surface (flags, descriptions, ordering) changes, and forces every PM fixture to flag the same regression in lockstep.

Changes

For each of the three fixtures:

  • steps.json: prepend vp pm publish --help ahead of the existing --dry-run step
  • snap.txt: regenerated with the 26-line help block; --dry-run output unchanged

Aligns these three fixtures with the existing pnpm10/pnpm11/bun
publish snaps, which already verify clap's `--help` output. Provides
a deterministic regression signal for the `vp pm publish` command
surface across the full PM matrix.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 15, 2026

Deploy Preview for viteplus-preview ready!

Name Link
🔨 Latest commit ba8ed76
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a06cddc64cf5d0008e487b0
😎 Deploy Preview https://deploy-preview-1584--viteplus-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@jong-kyung jong-kyung self-assigned this May 15, 2026
@jong-kyung jong-kyung requested a review from fengmk2 May 15, 2026 07:32
@fengmk2 fengmk2 merged commit 195e4de into voidzero-dev:main May 15, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants